home *** CD-ROM | disk | FTP | other *** search
/ IRIX Installation Tools & Overlays 2002 November / SGI IRIX Installation Tools & Overlays 2002 November - Disc 4.iso / dist / motif21_dev.idb / usr / Motif-2.1 / include / Xm / ScreenP.h.z / ScreenP.h
C/C++ Source or Header  |  2002-10-15  |  4KB  |  146 lines

  1. /* 
  2.  *  @OSF_COPYRIGHT@
  3.  *  COPYRIGHT NOTICE
  4.  *  Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.
  5.  *  ALL RIGHTS RESERVED (MOTIF). See the file named COPYRIGHT.MOTIF for
  6.  *  the full copyright text.
  7. */ 
  8. /* 
  9.  * HISTORY
  10. */ 
  11. /* $XConsortium: ScreenP.h /main/8 1995/07/13 17:53:51 drk $ */
  12. /* (c) Copyright 1989, 1990  DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS. */
  13. /* (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 HEWLETT-PACKARD COMPANY */
  14. /* (c) Copyright 1988 MASSACHUSETTS INSTITUTE OF TECHNOLOGY  */
  15. /* (c) Copyright 1988 MICROSOFT CORPORATION */
  16. #ifndef _XmScreenP_h
  17. #define _XmScreenP_h
  18.  
  19. #include <Xm/DesktopP.h>
  20. #include <Xm/Screen.h>
  21. #include <Xm/DragIcon.h>
  22.  
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif
  26.  
  27. typedef struct _XmScreenClassPart {
  28.     XtPointer        extension;
  29.     
  30. #ifdef _SGIMOTIF
  31.     XtPointer    _SG_vendorExtension;
  32. #endif
  33.  
  34. } XmScreenClassPart, *XmScreenClassPartPtr;
  35.  
  36. typedef struct _XmScreenClassRec {
  37. /*    ObjectClassPart        object_class;
  38.     XmExtClassPart        ext_class; */
  39.     CoreClassPart               core_class ;
  40.     XmDesktopClassPart         desktop_class;
  41.     XmScreenClassPart        screen_class;
  42. } XmScreenClassRec;
  43.  
  44. typedef struct _XmDragCursorRec {
  45.     struct _XmDragCursorRec    *next;
  46.     Cursor            cursor;
  47.     XmDragIconObject        stateIcon;
  48.     XmDragIconObject        opIcon;
  49.     XmDragIconObject        sourceIcon;
  50.     Boolean            dirty;
  51. } XmDragCursorRec, *XmDragCursorCache;
  52.  
  53. typedef struct _XmScratchPixmapKeyRec *XmScratchPixmapKey;
  54.  
  55. typedef struct _XmScratchPixmapKeyRec {
  56.     Cardinal        depth;
  57.     Dimension           width;
  58.     Dimension           height;
  59. } XmScratchPixmapKeyRec;
  60.  
  61. typedef struct {
  62.     Boolean        mwmPresent;
  63.     unsigned short    numReparented;
  64.     int            darkThreshold;
  65.     int            foregroundThreshold;
  66.     int            lightThreshold;
  67.     XmDragIconObject    defaultNoneCursorIcon;
  68.     XmDragIconObject    defaultValidCursorIcon;
  69.     XmDragIconObject    defaultInvalidCursorIcon;
  70.     XmDragIconObject    defaultMoveCursorIcon;
  71.     XmDragIconObject    defaultCopyCursorIcon;
  72.     XmDragIconObject    defaultLinkCursorIcon;
  73.     XmDragIconObject    defaultSourceCursorIcon;
  74.  
  75.     Cursor        nullCursor;
  76.     XmDragCursorRec    *cursorCache;
  77.     Cardinal        maxCursorWidth;
  78.     Cardinal        maxCursorHeight;
  79.  
  80.     Cursor        menuCursor;
  81.     unsigned char    unpostBehavior;
  82.     XFontStruct *    font_struct;
  83.     int            h_unit;
  84.     int            v_unit;
  85.     XtPointer        scratchPixmaps;
  86.     unsigned char       moveOpaque;
  87.     XmScreenColorProc   color_calc_proc;
  88.     XmAllocColorProc    color_alloc_proc;
  89.     XtEnum              bitmap_conversion_model;
  90.  
  91.     /* to save internally-created XmDragIcons */
  92.  
  93.     XmDragIconObject    xmStateCursorIcon;
  94.     XmDragIconObject    xmMoveCursorIcon;
  95.     XmDragIconObject    xmCopyCursorIcon;
  96.     XmDragIconObject    xmLinkCursorIcon;
  97.     XmDragIconObject    xmSourceCursorIcon;
  98.  
  99.     GC            imageGC;        /* OBSOLETE FIELD */
  100.     int            imageGCDepth;           /* OBSOLETE FIELD */
  101.     Pixel        imageForeground;        /* OBSOLETE FIELD */
  102.     Pixel        imageBackground;        /* OBSOLETE FIELD */
  103.  
  104.     XtPointer        screenInfo;        /* extension */
  105.  
  106. #ifdef _SGIMOTIF
  107.     XtPointer    _SG_vendorExtension;
  108. #endif
  109.  
  110.     XtPointer           user_data;
  111.  
  112.     Pixmap              insensitive_stipple_bitmap;
  113.  
  114. #ifdef DEFAULT_GLYPH_PIXMAP
  115.    Pixmap           default_glyph_pixmap ;
  116.    unsigned int     default_glyph_pixmap_width ;
  117.    unsigned int     default_glyph_pixmap_height ;
  118. #endif
  119.  
  120.    XtPointer        inUsePixmaps;
  121. } XmScreenPart, *XmScreenPartPtr;
  122.  
  123. typedef struct _XmScreenInfo {
  124.     /* so much for information hiding */
  125.     XtPointer    menu_state;        /* MenuUtil.c */
  126.     Boolean        destroyCallbackAdded;    /* ImageCache.c */
  127. } XmScreenInfo;
  128.  
  129. externalref XmScreenClassRec     xmScreenClassRec;
  130.  
  131. typedef struct _XmScreenRec {
  132. /*    ObjectPart            object;
  133.     XmExtPart            ext; */
  134.     CorePart                    core ;
  135.     XmDesktopPart        desktop;
  136.     XmScreenPart        screen;
  137. } XmScreenRec;
  138.  
  139.  
  140. #ifdef __cplusplus
  141. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  142. #endif
  143.  
  144. #endif /* _XmScreenP_h */
  145. /* DON'T ADD STUFF AFTER THIS #endif */
  146.